import { createApp } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'


// 1. 创建一个 pinia 实例(根store)
const pinia = createPinia()
const app = createApp(App)

// 2. 传递给 vue 应用
app.use(pinia)

// 3. 坑点：mount 需写到最后
app.mount('#app')


